using System.Reflection;
using Ef_Core_learn;

namespace Ef_Core_Learn_Test;

public class Tests
{
    [SetUp]
    public void Setup()
    {
    }

    [Test]
    public void 新增()
    {
        var propertyTypeDeclaringType =
            typeof(MyContext).GetProperty("Blogs", BindingFlags.Public | BindingFlags.Instance);

        var propertyType = propertyTypeDeclaringType.PropertyType;
        var typeDeclaringType = propertyType.GenericTypeArguments;
        Console.WriteLine();
    }


}